package com.yantong.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单分账详细
 */
public class OrderSplitInfo implements Serializable {
	private Long id;

	/**
	 * 订单ID
	 */
	private Long orderId;

	/**
	 * 订单商品表ID
	 */
	private Long orderProductId;

	/**
	 * 商品id/优惠券id
	 */
	private Long refId;

	/**
	 * 商户订单号
	 */
	private String outTradeNo;

	/**
	 * 订单来源1-线上订单，2-线下支付
	 */
	private Integer type;

	/**
	 * 结算方式1-商户结算（余额），2-交易分账（易票联）
	 */
	private Integer splitType;

	/**
	 * 门店实际入账金额
	 */
	private BigDecimal money;

	/**
	 * 交易手续费（琰通收）
	 */
	private BigDecimal serviceCharge;

	/**
	 * 交易手续费费率（琰通收）
	 */
	private BigDecimal serviceChargeRate;

	/**
	 * 支出佣金总额
	 */
	private BigDecimal commissionTotal;

	/**
	 * 相关联的佣金id（关联t_commission_log）
	 */
	private String commission;

	/**
	 * 易票联交易手续费
	 */
	private BigDecimal yfzServiceCharge;

	/**
	 * 易票联交易手续费费率
	 */
	private BigDecimal yfzServiceChargeRate;

	/**
	 * 分账商户编号
	 */
	private String customerCode;

	/**
	 * 分账信息
	 */
	private String splitResultInfoList;

	/**
	 * 分账订单号
	 */
	private String transactionNo;

	/**
	 * 返回码：0000：成功  0001：失败
	 */
	private String returnCode;

	/**
	 * 返回信息
	 */
	private String returnMsg;

	/**
	 * 服务中心ID
	 */
	private Long centreId;

	/**
	 * 门店id
	 */
	private Long teamId;

	/**
	 * 状态0-未发放 1-已发放 2已退款 3已售后退款
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 状态变更时间
	 */
	private Date statusTime;

	/**
	 * 是否承担易票联交易手续费扣款(0否  1是)
	 */
	private Integer yfzServiceChargeFlag;

	/**
	 * 购买人
	 */
	private Long payMid;

	/**
	 * 是否核销  0否  1是（大礼包券使用）
	 */
	private Integer verifyFlag;

	/**
	 * 备注
	 */
	private String remark;

	private static final long serialVersionUID = 1L;

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVerifyFlag() {
		return verifyFlag;
	}

	public void setVerifyFlag(Integer verifyFlag) {
		this.verifyFlag = verifyFlag;
	}

	public Long getPayMid() {
		return payMid;
	}

	public void setPayMid(Long payMid) {
		this.payMid = payMid;
	}

	public Integer getYfzServiceChargeFlag() {
		return yfzServiceChargeFlag;
	}

	public void setYfzServiceChargeFlag(Integer yfzServiceChargeFlag) {
		this.yfzServiceChargeFlag = yfzServiceChargeFlag;
	}

	public Date getStatusTime() {
		return statusTime;
	}

	public void setStatusTime(Date statusTime) {
		this.statusTime = statusTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getOrderProductId() {
		return orderProductId;
	}

	public void setOrderProductId(Long orderProductId) {
		this.orderProductId = orderProductId;
	}

	public Long getRefId() {
		return refId;
	}

	public void setRefId(Long refId) {
		this.refId = refId;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSplitType() {
		return splitType;
	}

	public void setSplitType(Integer splitType) {
		this.splitType = splitType;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getServiceCharge() {
		return serviceCharge;
	}

	public void setServiceCharge(BigDecimal serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	public BigDecimal getServiceChargeRate() {
		return serviceChargeRate;
	}

	public void setServiceChargeRate(BigDecimal serviceChargeRate) {
		this.serviceChargeRate = serviceChargeRate;
	}

	public BigDecimal getCommissionTotal() {
		return commissionTotal;
	}

	public void setCommissionTotal(BigDecimal commissionTotal) {
		this.commissionTotal = commissionTotal;
	}

	public String getCommission() {
		return commission;
	}

	public void setCommission(String commission) {
		this.commission = commission;
	}

	public BigDecimal getYfzServiceCharge() {
		return yfzServiceCharge;
	}

	public void setYfzServiceCharge(BigDecimal yfzServiceCharge) {
		this.yfzServiceCharge = yfzServiceCharge;
	}

	public BigDecimal getYfzServiceChargeRate() {
		return yfzServiceChargeRate;
	}

	public void setYfzServiceChargeRate(BigDecimal yfzServiceChargeRate) {
		this.yfzServiceChargeRate = yfzServiceChargeRate;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getSplitResultInfoList() {
		return splitResultInfoList;
	}

	public void setSplitResultInfoList(String splitResultInfoList) {
		this.splitResultInfoList = splitResultInfoList;
	}

	public String getTransactionNo() {
		return transactionNo;
	}

	public void setTransactionNo(String transactionNo) {
		this.transactionNo = transactionNo;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public String getReturnMsg() {
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}

	public Long getCentreId() {
		return centreId;
	}

	public void setCentreId(Long centreId) {
		this.centreId = centreId;
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}